Part Number Hot Search : 
LTC1877 JHV21H28 NTXV1 546A2U ST104 546A2U B39202 GO1555
Product Description
Full Text Search
 

To Download ROK101008 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ROK 101 008
ROK 101 008 Bluetooth Module
Key Features
* * * * * * * * * * Qualified to Bluetooth 1.0B RF output power class 2 FCC and ETSI approved 460 kb/s max data rate over UART UART and PCM interface I2C interface Internal crystal oscillator HCI firmware included Point to Point connection Built-in shielding
Supported Bluetooth Profiles
* * * Generic Access Profile Service Discovery Application Profile Serial Port Profiles - Dial-up networking - Fax - Headset * Generic Object Exchange Profiles - File transfer - Object Push - Synchronisation
Description
ROK 101 008 is a short-range module for implementing Bluetooth functionality into various electronic devices. The module consists of three major parts; a baseband controller, a flash memory, and a radio that operates in the globally available 2.4- 2.5 GHz free ISM band. Both data and voice transmission is supported by the module. Communication between the module and the host controller is carried out via UART and PCM interface. ROK 101 008, which is compliant with Bluetooth version 1.0B and critical errata, is a Class 2 Bluetooth Module (0 dBm) and is type-approved.
Suggested Applications
* * * Computers and peripherals Handheld devices and accessories Access points
ROK 101 008
I2C_DATA I2C_CLK TXD RXD RTS CTS
T6 C3 B5 A5 A6 B6
C4 Baseband C6 UART Voltage Regulation C2
VCC_IO VCC ON
ADDR B3 DATA PCM_IN PCM_OUT PCM_SYNC PCM_CLK A1 A2 A3 A4 POR FLASH Memory PCM CTRL R1 R2 T1 T3 R5 R6 T4 T5 R4 R5 R6 T4 T5 C5 GND GND GND GND GND NC NC NC NC NC NC NC NC NC NC
Radio Module Loop Filter Radio ASIC VCO Tank TXBalun RXBalun Switch Antenna Filter
T2 ANT
PBA 313 01/2
13MHz Crystal R3 RESET#
Figure 1. Block Diagram
Audio
HCI Link Manager
0 1 2 3 cm
Baseband Radio
Figure 2. Actual size of the Bluetooth Module and also showing the HW and FW stack.
2
ROK 101 008 Absolute Maximum Ratings
Parameter Symbol Min Max Unit
Temperature Storage temperature Operating temperature Power Supply VCC VCC_IO Digital Inputs Input low voltage Input high voltage Antenna Port Input RF power
TStg TAmb VCC VCC_IO VIL VIH In-band Out of band
-30 0 -0.3 -0.8 -0.5
+85 +75 +5.25 +3.6
C C V V V V dBm dBm
VCC_IO + 0.3 15 15
Recommended Operating Conditions
Parameter Symbol Min Typ Max Unit
Temperature Ambient temperature, Test Power Supply Positive Supply Voltage I/O Ports Supply Voltage
TAmb VCC VCC_IO
+23 +3.3 +3.3
C V V
DC Specifications
Unless otherwise noted, the specification applies for Tamb = 0 to +75C
Parameter Condition Symbol Min Typ Max Unit
Power Supply Supply Voltage I/O Ports Supply Voltage Digital Inputs Logical Input High Logical Input Low Logical Input High Logical Input Low RESET# Input Low Digital Outputs Logical Output High Logical Output Low Except ON signal Except ON signal ON signal only ON signal only RESET# signal only
VCC VCC_IO VIH1 VIL2 VIH2 VIL2 VRESET VOH VOL
3.175 2.7 0.7xVCC_IO 0 2.0 0 0 0.9xVCC_IO 0
3.3 3.3
5.25 3.6
V V
VCC_IO V 0.3xVCC_IO V VCC V 0.4 V 0.4 V VCC_IO V 0.1xVCC_IO V
3
ROK 101 008 Current Consumption
Parameter Condition Symbol Min Typ Max Unit
Average Current Consumption ICC + ICC_IO HW Shutdown state See note 1 SW Standby Mode Can only be woken up via UART see note 3 Can be woken up via UART and via RF see notes 2 & 3 Idle state After HCI - reset After a H/W reset Connection Mode Master Mode Slave Mode VCC_IO supply
ISHW ISTA1 ISTA2a
1 250 1.5
A A mA
IIDL1 IIDL2 ICS_M ICS_S ICC_IO
15 23 35 25 2
mA mA mA mA mA
Notes
1. Current consumption is based upon when the pin 'ON ' is low and 'VCC_IO ' is grounded. 2. HCI basic settings have not been sent to UUT. 3. Implemented by using the Ericsson_HCI_Save_Power command. ISTA1 is entered by sending the following command '0123 FC01 03'. ISTA2 is entered by the command '0123 FC01 02'.
Timing Performance
Parameter Condition Symbol Min Typ Max Unit
System start-up time from power on RESET# signal duration Firmware timer resolution
1250 Sink current > 1mA 1 6.55
ms ms ms
PCM
Parameter Condition Symbol Min Typ Max Unit
PCM clock frequency See fig 3 & 4 PCM sample rate sync. frequency See fig 3 & 4 PCM clock high period PCM clock low period PCM_SYNC (setup) to PCM CLK (fall) PCM_SYNC pulse length PCM_X in (setup) to PCM_CLK (fall) PCM_X in (hold) from PCM_CLK (fall) PCM_X out valid from PCM_CLK (rise)
Master mode Slave mode
fPCM_CLK fPCM_CLK fPCM_SYNC tCCH tCCL tPSS tPSH tDSL tDSH tPDLP
2000 128 8 200 200 100 200 100 100 2048
kHz kHz kHz ns ns ns ns ns ns ns
See fig 5 See fig 5
1000 460
150
Figure 3.
Figure 4.
Figure 5.
4
ROK 101 008 RF Specifications
General
Parameter Condition Symbol Min Typ Max Unit
Frequency range Antenna load VSWR VSWR
2.402 RX mode TX mode, see note 4 50 2:1 2:1
2.480
GHz W
Notes
4. During the TX mode, the VSWR specification states the limits that are acceptable before any other RF parameters are strongly effected. i.e. frequency deviation and initial frequency error.
Receiver Performance (0.1% BER)
Parameter Condition Symbol Min Typ Max Unit
Sensitivity level Max input level Spurious Emissions Spurious Emissions Transmitter Performance
Parameter
-75 -20 30MHz to 1GHz 1GHz to 12.75GHz -74 -60
-70 -57 -47
dBm dBm dBm dBm
Condition
Symbol
Min
Typ
Max
Unit
Frequency deviation TX power TX carrier drift
fMOD 1 slot 3 slots 5 slots Peak detector 30MHz - 1GHz 1GHz - 12.75GHz 1.8GHz - 1.9GHz 5.15GHz - 5.3GHz FDRIFT(1) FDRIFT(3) FDRIFT(5)
140 -6 -25 -40 -40
20dB bandwidth Spurious Emissions
155 +2 +5 +10 +15 750
170 +4 +25 +40 +40 1000 -36 -30 -47 -47
kHz dBm kHz kHz kHz kHz dBm dBm dBm dBm
5
ROK 101 008
Pin Description
Pin Pin Name Type Direction Description
A1 A2 A3 A4 A5 A6 B1 B2 B3 B4 B5 B6 C1 C2 C3 C4 C5 C6 R1 R2 R3 R4 R5 R6 T1 T2 T3 T4 T5 T6
PCM_IN PCM_OUT PCM_SYNC PCM_CLK RXD RTS NC NC GND NC TXD CTS NC ON I2C_CLK VCC_IO NC VCC GND GND RESET# NC NC NC GND ANT GND NC NC I2C_DATA
CMOS CMOS CMOS CMOS CMOS CMOS Power CMOS CMOS Power CMOS Power Power Power Power CMOS Power RF Power Power CMOS
In Out In/Out In/Out Input Input Power Output Output Input Output Power Power Power Power Input Power In/Out Power Power In/Out
PCM data, see notes 5,6 PCM data, see notes 5,6 Sets the PCM data sampling rate, see notes 5,6 PCM clock that sets the PCM data rate, see notes 5,6 RX data to the UART, see note 6 Flow control signal, Request To Send data from UART, see notes 5,6 Do not connect Do not connect Signal ground Do not connect TX data from the UART, see note 6 Flow control signal, Clear To Send data from UART, see note 6 Do not connect When tied to VCC, the module is enabled. I2C clock signal, see note 6 External supply rail to the Input / Output ports Do not connect Supply Voltage Signal ground Signal ground Active low reset, see note 7 Do not connect Do not connect Do not connect Signal Ground 50W Antenna connection Signal Ground Test point, internal voltage regulator - Do not connect Do not connect I2C data signal, see note 6
Notes
5. 100kW pull-up resistors to VCC_IO are incorporated on the module. PCM signals direction is programmable. 6. CMOS buffers are low voltage TTL compatible signals. 7. RESET# signal must be fed from an open drain output.
6
ROK 101 008 Mechanical Specification
32.8
0.2
1.6 5.05 7.85
0.2 0.2 0.2
1.6
0.2
0.2
7.85
0.2
16.8 2.95 max without solder balls
14.1 15.7
0.2 0.2
14.1
0.2
Detail A
approx 0.2 mm
Detail A
0.54 0.2
Co-planarity 0.1 mm
3.12 4.39 5.66 6.93 8.2 9.47
TR
CBA
6 5 4 3 2 1
Figure 6. Mechanical dimensions
22.22 23.5 24.76
5.72 6.98
Pad size: 35 mil = 0.889 mm Tolerance on placement: 0.02 mm
7
ROK 101 008
Functional Description
The ROK 101 008 is a complete Bluetooth module that has been specified and designed according to the Bluetooth System v1.0B . Its implementation is based on a high-performance integrated radio transceiver (PBA 313 01/2) working with a baseband controller, a flash memory and surrounding secondary components. Block Diagram ROK 101 008 has five major operational blocks. Figure 7 illustrates the interaction of the various blocks. The functionality of each block is as follows: 1. Radio functionality is achieved by using the Bluetooth Radio, PBA 313 01/ 2. Six operational blocks are shown for the radio section and their operation is as follows: 1a) VCO-tank is a part of the phase locked loop. The modulation is performed directly on the VCO. To ensure high performance the VCO-tank is laser trimmed. 1b) Loop filter, filters the tuning voltage of the VCO-tank. 1c) RX-balun handles transformation from unbalanced to balanced transmission. 1d) TX-balun handles biasing of the output amplifier stage and transformation from balanced to unbalanced transmission. 1e) Antenna switch directs the power either from the antenna filter to the receive ports or from the ASIC output ports to the antenna filter. 1f) Antenna filter band-pass filters the radio signal.
2.
The baseband controller is an ARM7-Thumb based chip that controls the operation of the radio transceiver via the UART interface. Additionally, the baseband controller has a PCM Voice and I2C interface. The baseband controller ROP 101 1112/C is used. A Flash memory is used together with the baseband controller. Please, refer also to the Firmware section. The voltage regulation block regulates and filters the supply voltage. VCC is typically 3.3V and two regulated voltages are produced. An internal clock is mounted on the module. The clock frequency is 13MHz and is generated from a crystal oscillator that guarantees a timing accuracy within 20ppm.
3. 4.
5.
Bluetooth Module stack
The Host Controller Interface (HCI) handles the communication by the transport layer through the UART interface with the host, see figure 8. The Baseband and radio provides a secure and reliable radio link for higher layers. The following sections describe the Bluetooth module stack in more detail. It is implemented in accordance with and complies with the Specification of the Bluetooth System v1.0B . Bluetooth Radio Interface The Bluetooth module is a class 2 device with 4dBm maximum output power with no power control needed. Nominal range of the module with a typical antenna is up to a range of 10 m (at 0 dBm). It is compliant with FCC and ETSI regulations in the ISM band.
2
I2C Interface (2) Voltage Regulation ADDR UART Interface (4) Baseband DATA PCM Voice Interface (4)
4
POWER (3)
3
FLASH Memory
Audio
HCI Link Manager Baseband
CTRL
1
Loop Filter Radio ASIC VCO Tank TXBalun RXBalun Switch
Radio Module
Antenna Filter
Radio
ANT
PBA 313 01/2 RESET 13MHz Crystal
5
Figure 7. Simplified Block Diagram 8
Figure 8. HW/FW parts included in the Ericsson Buetooth module.
ROK 101 008
Baseband By default the first unit setting up a connection is the master of the point to point link. The master transmits in the even timeslots and the slave transmits in the odd timeslots. For full duplex transmission, a Time-Division Duplex (TDD) scheme is used. Packets are sent over the air in timeslots, with a nominal length of 625 s. A packet can be extended to a maximum of 5 timeslots (DM5 and DH5 packets) and is then sent by using the same RF channel for the entire packet. Two types of connections are provided - Asynchronous Connectionless Link (ACL) for data and the Synchronous Connection Oriented Link (SCO) for voice. Only two 64kb/s voice channel are supported, HV1 and HV3. Furthermore, there are also packages used for link control purposes. A variety of different packet types with error correction schemes and data rates can be used over the air interface. Also asymmetric communication is available for high speed communication in one direction. The Baseband provides the link-setup and control routines for the layers above. Furthermore, the Baseband also provides Bluetooth security like encryption, authentication and key management. Please refer to the Specification of the Bluetooth System v1.0B part B for in-depth information regarding the Baseband.
Firmware (FW)
The module includes firmware for the host controller interface, HCI, and the link manager, LM. The FW resides in the Flash and is available in object code format. Link Manager (LM) The Link Manager in each Bluetooth module can communicate with another Link Manager by using the Link Manager Protocol (LMP) which is a peer to peer protocol. The LMP messages have the highest priority and are used for link-setup, security, control and power saving modes. The receiving Link Manager filter-out the message and does not need to acknowledge the message to the transmitting LM due to the reliable link provided by the Baseband and radio. LM to LM communication can take place without actions taken by the host. Discovery of features at other Bluetooth enabled devices nearby can be found and saved for later use by the host. Please refer to the Specification of the Bluetooth System v1.0B part C for in-depth information regarding the LMP. Host Control Interface (HCI) The HCI provides a uniform command I/F to the Baseband and Link Manager and also to HW status registers. There are three different types of HCI packets: * * HCI command packets - from host to Bluetooth module HCI. HCI event packets - from Bluetooth module HCI to host. HCI data packets - going both ways.
Type ID NULL POLL FHS
User Payload (bytes) na na na 18
FEC na na na 2/3
CRC na na na yes
Symetric Max. rate na na na na
Asymetric Max.rate na na na na
Link control packets
Type DM1 DH1 DM3 DH3 DM5 DH5
Payload Header (bytes) 1 1 2 2 2 2
User Payload (bytes) 0-17 0-27 0-121 0-183 0-224 0-339
FEC 2/3 no 2/3 no 2/3 no
CRC yes yes yes yes yes yes
Symetric Max. rate (kb/s) 108.8 172.8 258.1 390.4 286.7 433.9
Asymetric Max rate (kb/s) Forward 108.8 172.8 387.2 585.6 477.8 723.2 Reverse 108.8 172.8 54.4 86.4 36.3 57.6
*
It is not necessary to make use of all different commands and events for an application. If the application is aimed
ACL packets
Symetric Max. rate (kb/s) 64.0 64.0 64.0+57.6 D
LM LC RF
LMP
LM LC RF
Type HV1 HV3 DV
Payload header (bytes) na na 1D
User Payload (bytes) 10 30 10+(0-9) D
FEC 1/3 no 2/3 D
CRC no no Yes D
SCO packets
Physical layer
Table 1: Link Control Packets Table, ACL Packets Table, SCO packets
Figure 9. Link manager
9
ROK 101 008
at a pre-specified profile, the capabilities of such a profile is necessary to adjust to - see Specification of the Bluetooth System v1.0B Profiles. The interface for communicating with the Bluetooth module is achieved with the HCI UART Transport Layer on top of HCI, the module will communicate with a host through the UART I/F. The PCM I/F is also available for communicating voice. Please refer to the Specification of the Bluetooth System v1.0B part H:1-4 for in-depth information regarding the HCI and different transport layers I2C Interface A master I2C I/F is available on the module. The control of the I2C pins are performed by Ericsson specific HCI commands available in the FW implementation - see Appendix C. Antenna The ANT pin should be connected to a 50W-antenna interface, thereby supporting the best signal strength performance. Ericsson Microelectronics can recommend application specific antennas - see Appendix C. RESET# The assignment of the RESET# input is to generate a reset signal to the complete Bluetooth module. During power-up the reset signal is set `low' automatically so that power supply glitches are avoided. Therefore no reset input should be required after power-up.
Module HW Interfaces
UART Interface The UART implemented on the module is an industry standard 16C450 and supports the following baud rates: 300, 600, 900, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 and 460800 bits/s. 128 byte FIFOs are associated with the UART. Four signals will be provided for the UART interface. TxD & RxD are used for data flow, and RTS & CTS is used for flow control. Please refer to the Specification of the Bluetooth System v1.0B part H:4 regarding the HCI and UART transport layers. PCM Voice Interface The standard PCM interface has a sample rate of 8 kHz (PCM_SYNC). The PCM clock is variable between 128 kHz and 2.0 MHz in the PCM slave mode. The PCM data can be linear PCM (13-16bit), -Law (8bit) or A-Law (8bit). The PCM I/F can be either master or slave - providing or receiving the PCM_SYNC. Redirection of PCM_OUT and PCM_IN can be accomplished as well. Over the air the encoding is programmable to be, CVSD and A-Law or -Law.
Power-up Sequence
There is no need for a power up sequence if VCC, ON and VCC_IO are tied together. A power up sequence, if used, shall be applied accordingly: Connection of the supply rails, GND and then VCC; then the ON signal should be applied in order to initiate the internal regulators; and finally, the VCC_IO supply rail can be activated. The power-down sequence is similar to the power-up procedure but in the reverse format. Therefore, the disconnection of the signals shall be as follows: VCC_IO, ON,VCC and finally GND. Power There are three inputs to the Voltage Management section (VCC, VCC_IO, ON). VCC is the supply voltage that is typically 3.3V.
VCC ON VCC_IO RS232 4 RS 232
transceiver
VCC_IO ON VCC
UART
Bluetooth Module
4
GND
Codec
PCM
GND
Figure 10. Application block schematics. A typical UART or PCM configuration.
10
ROK 101 008
A separate power supply rail (VCC_IO) is provided for the I/ O ports, UART and PCM. VCC_IO can either be connected to VCC or to a dedicated supply rail, which is the same as the logical interface of the host. Shielding / EMC Requirements The module has its own RF shielding and is approved according to the standards by FCC and ETSI. If the approval number is not visible on the outside when the module is utilized in the final product, an exterior label must state that there is a transmitter module inside the product. Ground Ground should be distributed with very low impedance as a ground plane. Connect all GND pins to the ground plane.
Marking
Every module is marked with the following information on the: a) Component designation: "ROK 101 008". b) Ericsson's name and logotype. c) Manufacturing code (place, year, week) and batch number. d) CE logotype e) Type approval RTA no. See manual
Ordering Information
Part No. ROK 101 008/2
Assembly Guidelines
Solder Paste The ROK 101 008 module is made for surface mounting and the SSP connection pads have been formed after printing eutectic Tin/Lead solder paste. The solder paste to use is not critical as long as this is a normal eutectic solder paste. A preferred solder paste height is 150m. Soldering Profile It must be noted that the module should not be allowed to be hanging upside down in the re-flow operation. This means that the module has to be assembled on the side of the PCB that is soldered last. The re-flow process should be a regular surface mount soldering profile (full convection strongly preferred); the ramp-up should not be higher than 2oC/s and with a peak temperature of 210-235oC during 20-60 seconds. Pad Size It is recommended that the pads on the PCB should have a diameter of 0.7-0.9 mm. The surface finish on the PCB pads should be Nickel/Gold or a flat Tin/Lead surface or OSP (Organic Surface Protection). Placement The placement machine should be able to recognize odd BGA combinations (all ball recognition preferred) and be able to pick the component asymmetrical. The module contains a flat pick-area of 10mm diameter minimum. The weight of the module is typically 2.8gr. Storage Keep the component in its dry pack when not yet using the reel. After removal from the dry pack ensure that the modules are soldered onto the PCB within 48 hours.
Packaging
All devices will be delivered in a package protecting them from electrostatic discharges and mechanical shock. The package will be marked with the following information: a) b) c) d) e) f) Delivery address. Purchase order-number Type of goods and component designation. Ericsson's name and logotype. Date of manufacture and batch number. Number of components in the package.
Abbreviations
ASIC - Application Specific Integrated Circuit BER - Bit Error Rate CMOS - Complementary Metal Oxide Semiconductor C/I - Carrier to Interference Ratio DCE - Data Circuit terminating Equipment GP - Gold Print HCI - Host Controller Interface ISM - Industrial Scientific and Medical PCB - Printed Circuit Board PCM - Pulse Code Modulation PDA - Personal Digital Assistant PtP - Point to Point Rx - Receive SIG - Special Interest Group SSP - Screen Solder Print Tx - Transmit UART - Universal Asynchronous Receiver Transmitter VCO - Voltage Controlled Oscillator
11
ROK 101 008
APPENDIX A
Getting Started
The ROK 101 008 Bluetooth module is easy to use when designing a Bluetooth application. However, there is a need for know-how in the Bluetooth System specification v1.0B as well as the Profile specification v1.0B when designing and end-customer product. The list below show some parts that would make designing convenient. * Bluetooth module * Know-how in Bluetooth specification regarding HCI commands * Test board with UART/PCM or USB I/F * Visual C++ for PC SW design * Preferably HCIdriver, L2CAP, RFCOMM and SDP from Ericsson All information needed, regarding how to drive the HCI over UART is specified in part H4 of the Bluetooth System v1.1 further more part H1 and also Appendix IX with message charts is relevant. Below follow an example of how to set up an ACL link between to Bluetooth modules by using the UART I/F and also a schematic of how to interface the module and control it by a host, normally a PC or microcontroller.
Setting up a Bluetooth point-to-point connection
The Host Controller Interface (HCI) in the module is a command I/F. The host presents commands to the HCI and receives events back from the HCI of the module. The module Link Manager provides link set up capability to the HCI. * Host_B Bluetooth module is set in paging scan mode - listening for a Bluetooth device asking for a new connection * Host_A Bluetooth module is set in paging mode asking for a connection to Host_B This is accomplished by first setting up the connection between the Host and the module and thereafter creating the connection between the modules using HCI commands.
Host set-up via UART:
There are 4 different types of HCI-packets accepted on the UART I/F.
HCI packet type HCI command packet HCI ACL data packet HCI SCO data packet HCI event packet HCI packet indicator 0x01 0x02 0x03 0x04
Principle schematic for UART interconnect
The inter-connection to the level-shifter when designing a test-board could be according to the schematic below. (Figure A1.) The Bluetooth module can be connected as a DCE/DTE and a modem/nullmodem cable could therefor be used in-between the test-board and the PC.
Table A1. HCI packets The HCI packet indicator shall be sent immediately before the HCI packet. When the entire HCI packet has been received a new indicator should be expected. The default speed setting is 57.6 kb/s and can be changed by sending a specified bit stream to the I/F - see Appendix C on how to change the speed setting of the UART. When the speed set-up for the UART is made for both Host_ A & B, the Command Packets can be sent and Event Packets received by the hosts. See HCI over UART in part H:4 of the Bluetooth System v1.0B for detailed information regarding parameters and protocol. Soft Reset First HCI command packet to send should be the RESET packet. A Command_Complete_Event with a status parameter should be returned to the host.
The capacitor values are chosen for a VCC from 3.2 to 3.6 V
V CC 100nF 1 3
VCC VCC_IO ON
V CC
RS-232 V CC + CX V+
16 2 100nF 100nF 4
100nF
BLUETOOTH MODULE ROK 101 008
TXD B5 CTS B6 RXD A5 RTS A6
+ CX 5 -
V- 6 GND
15 7 14 8 13
100nF
10 11 9 12
2 RXD 8 CTS 3 TXD 7 RTS
MAX3232E
9-pin D-sub
Figure A1. Bluetooth module connected as a DCE through level shifter
12
ROK 101 008
Buffer information Buffer information should be exchanged between the module and respective host by using HCI commands. * Read_Buffer_Size: Providing the host with information on buffer size for ACL and SCO data packets for the module returned with a Command_Complete_Event packet. The host shall use this information for controlling the transmission * Host_Buffer_Size: Providing the module with information on buffer size for ACL and SCO packets to the host. It is the host that manages the data buffers of the Host Controller on the module. Timers It could be necessary to set important timers used by the module for time out handling. The timers are all set by writing to registers using HCI commands. The default values can be checked in Specification of the Bluetooth System v1.0B part H:1 or by using Read_xxx_xxx commands. Bluetooth Address The hosts, using the HCI command Read_BD_ADDR will find the Bluetooth address of the module by the Command_Complete_Event with the BD_ADDR as a parameter. By Remote_Name_Request, the BD_ADDR of the remote module can also be found. Inquiry The HCI command Inquiry with the parameters LAP, Inquiry_Length, and Num_Responses can also be used for collecting BD_ADDR of remote Bluetooth units. Furthermore the setting of authentication and encryption should be disabled (default) by using the: * Write_Authentication_Enable * Write_Encryption_Mode The basic settings for getting into scan mode could be according to the below suggested script list. * Read Buffer Size * Set Event Filter * Write Scan Enable: (Scan Enable: 0x03) * Write Voice Setting: (Voice Channel Setting: 0x0060) * Write Authentication Enable: (Authentication Enable: 0x00) * Set Event Filter: (Connection Setup Filter: Connections from All Devices, Auto Accept: 0x02) * Write Connection Accept Timeout: (Connection Accept Timeout: 0x2000) * Write Page Timeout: (Page Timeout: 0x3000) Page mode The Create_Connection command is used to set-up a link to another Bluetooth device.
Command OCF HCI_Create_Connection 0x0005 Command parameters BD_ADDR Packet_Type Packet_Scan_Repetition_Mode Packet_Scan_Mode Clock_Offset Allow_Role_Switch Return parameters
Table A3. HCI Create Connection OCF code Create_Connection: BD_ADDR: 0xYYYYYYYYYYYY, Packet Type: 0x0008, Page Scan Repetition Mode: 0x01, Page Scan Mode: 0x00, Clock Offset: 0x0000 Allow_Role_Switch: 0x00 This command will cause the Link Manager to try to create a connection to the Bluetooth module with the appropriate BD_ADDR. The local Bluetooth module (Host_A) starts the paging process to set up a link to the page-scanning remote device (Host_B). By LMP the negotiation between the two Bluetooth modules Link Managers (LM) the link set-up can be completed.
Creating a Point-to-point connection
Page Scan mode To set a Bluetooth module in the mode for being able to connect to (Host_B), page scan mode, there are some settings that should be performed.
Command Command OCF parameters HCI_Write_Scan_Enable 0x001A Scan_Enable Return parameters Status
Table A2. HCI Write Scan Enable OCF code
13
ROK 101 008
ACL link up and running Host_A is the master of the point-to-point piconet and Host_B is slave. The unit starting the paging process is by definition the master. The link set-up is completed when the event Connection_Complete_Event is returned to both Host_A and Host_B with the connection handle as one of the parameters and the status parameter 0x00 (success). When Bluetooth link is up and running the HCI data packets can be sent from host to host. The host must take care of generating the packages going from Host to Host Controller in the module over the UART I/F, in the same way the Host must arrange the packages received from the Host Controller. Both sides need information on what kind of data is received, to be able to interpret the bit flow correctly. For extensive information on setting up a Bluetooth link please refer to Bluetooth System v1.0B Appendix IX Message Sequence Charts Adding an SCO link When creating a voice connection using the PCM I/F, an ACL link must be up and running between the two devices, an SCO link can thereafter be added. The control of the PCM I/F (FS, PCM_IN/OUT and PCM_CLK) is handled by Ericsson specific HCI command - see Appendix C.
0 4 8 Connection handle 12 16 PB BC Flag Flag 20 24 Data total length 32
Driving SW
HCI- API The Bluetooth module includes all HCI command capabilities according to Bluetooth System v1.0B. Furthermore, there is some Ericsson specific commands available for accessing HW registers and HW control - see Appendix C. SW for driving the module should be developed for the HCI interface. There is source code SW available with Ericsson Bluetooth Developers Kit (EBDK), see Appendix B, which can be used for driving the module. This SW comes with the EBDK and has an HCI-API for application development on the HCI I/F. Higher layer-API Software (HCIdriver, L2CAP, RFCOMM and SDP) are available in a generic, source code format, i.e. to be adapted to various operating systems. * HCIdriver - implements the HCI command driver used by the host * L2CAP - handles protocol multiplexing, segmentation and re-assembly of packets * RFCOMM - provides a serial port emulation over the L2CAP protocol * SDP - Service Discovery Protocol provides information on the services available on a Bluetooth device Additional SW for the application shall be developed for the actual application on top of the RFCOMM API. If the application is according to a SIG predefined profile, it should be implemented accordingly. New applications can be the driver of the specification of new profiles decided by the SIG - see Specification of the Bluetooth System v1.0B Profiles.
Data
Table A4. ACL data packet
14
ROK 101 008
APPENDIX B
Development tools
Bluetooth Development Kit (EBDK) The easiest way of getting started is to use the Bluetooth Developers Kit. It provides all parts necessary for developing applications for the Bluetooth module. Available are: * PC plug&play * Demos using radio/baseband * Macro capability * C++ v5.0 Source code for use in applications * HCIdriver, L2CAP, SDP and RFCOMM for applications using UART communication * Pins for electrical measurements * Antennas Development can easily take place on the EBDK platform and thereafter the implementation of the full Bluetooth capability can be setup by developed SW/HW and the Bluetooth module. Software (HCIdriver, L2CAP, RFCOMM and SDP) will be available in source code for PC. * HCIdriver - implements the HCI command driver used by the host * L2CAP - handles protocol multiplexing, segmentation and re-assembly of packets * RFCOMM - provides a serial port emulation over the L2CAP protocol * SDP - Service Discovery Protocol provides information on the services available on a Bluetooth device Technical support is available from the EBDK distributor. Please contact Ericsson Microelectronics for ordering and information regarding the EBDK and regarding extra daughter board with ROK 101 008 as add-on to the EBDK. Bluetooth Starter Kit (EBSK) A very small convenient kit, which preferably is used in point-to-multipoint configuration designs, based on the Bluetooth module ROK 101 008. Please contact Ericsson Microelectronics for ordering and information regarding the Ericsson Bluetooth Starter Kit.
Radio Board (0dBm)
Ericsson Radio Module
EBDK
USB
A udio
LEDS
USB9602 Radio Board
MS7540
Ericsson Radio Module
Monitoring pins
GLUE LOGIC (XLI NX)
Ericsson BaseBand
Base Band Board
Address / Data / Control
Memory
JTAG
Memor y
Application Board RS-232 RS-232 RS-232 I2C
Figure B1. Bluetooth Development Kit (EBDK)
EBSK
Ericsson Bluetooth Module ROK 101 008
Levelshift
Codec
DC/DC
RS-232
USB
Audio
Power
Figure B2. Bluetooth Starter Kit (EBSK)
15
ROK 101 008
APPENDIX C
Bluetooth Information
This part will be updated and new information will be added continuously. Radio Fast Frequency hopping (1600channel hop/s) with 79(23) channels available (2.402 to 2.480 GHz) and a symbol rate of 1Ms/s over the air exploits the maximum channel bandwidth in the unlicensed ISM band. To sustain a high transfer rate in busy radio environment, the frequency hopping together with advanced coding techniques maximizes the throughput. During Page and Inquiry the hopping frequency is risen to 3200 hops/s to enhance the time needed for connection set-up.
Modulation technique is a binary Gaussian Frequency Shift Keying GFSK, with a BT product of 0.5. The channel bandwidth is 1 MHz and the frequency deviation from the carrier frequency of the RF channel is between +/-140 to +/-175 kHz for representing a `1'/'0'. A rapid process is ongoing to harmonise Spanish, French and Japanese frequency ranges with the rest of the world. Data and parameter formats There are exceptions in the Bluetooth system for data and parameter formats - general rules below. * All values are in Binary and Hexadecimal little Endian formats * Negative values must use 2's complement format * Array parameter notation is parameterA[i], parameterB[i],... * All parameter values are sent/received in little Endian format. The least significant byte is sent first - unless noted otherwise.
Little Endian
0
4
8
OpCode
12
16
20
24
28
31
lsb
OCF
msb lsb
OGF
Parameter Total length
msb
OpCode Command Field 10 bits
OpCode Group Field 6 bits
Amount of parameters in bytes
0x3E: Bluetooth logo testing 0x3F: Vendor specific debug commands OCFRange (10 bits): 0x0000-0x03FF
OGFRange (6 bits): 0x00-0x3F
HCI_Inquiry_Cancel (Example):
LINK CONTROL COMMAND
OGF: 0x01 bin: 0000 0001
msb lsb
OCF: 0x0002 bin: 0000 0000 0000 0010
msb lsb
Real code bin: 0000 01 | 00 0000 0010
msb lsb
0x0402 Sent to module in hex: 02 04 00
Zero parameters
Reverse byte order
Figure C1. Byte order sent to module
16
ROK 101 008
HCI Opcodes The Opcodes have been changed during the ongoing standardisation work. Below is the description on how to send opcodes to the module. Below is the general HCI command packet format depicted as well as a byte order description. UART speed setting The baud rate is changed with an Ericsson specific HCI command. HCI_Ericsson_Set_Uart_Baud_Rate The command has one parameter, baud rate - one byte long according to the table below . The op-code for the command is 0xfc09 - the last figure is due to a possible change. Sending the command should be performed accordingly: 09 fc 01 yz , where yz is the chosen baud rate from the table. The op-code is sent in reverse byte order. 01 is the parameter length, in this case one byte. Remember to add the HCI packet indicator. Observe - When changing the baud rate for the module the host also has to change the baud rate. Observe - Removing power to the module the baud rate will be reset to 57.6 kbps. Observe -Two zeros are not printed in the beginning of the binary parameters below. The length of the parameter is 1 byte. Ericsson specific HCI commands By using the Ericsson specific HCI command there are a number of features available for the application design. Contact Ericsson Microelectronics for a command reference list. Antennas Antenna design is not specified and standardised in the Bluetooth System v1.0B. Many different types of antennas can and will be used. Application specific antennas suitable for production are expected to be a new market for antenna designs. Ericsson Microelectronics have antennas for the EBDK and other development kits. Contact Ericsson Microelectronics for information on antennas. Contacting Ericsson Microelectronics For further information regarding Bluetooth technology, components and development tools, please contact Ericsson Microelectronics:
UART speed Parameter to send
460.8 230.4 115.2 57.6 28.8 14.4 7200 3600 1800 900 153.6 76.8 38.4 19.2 9600 4800 2400 1200 600 300 kbps kbps kbps kbps kbps kbps bps bps bps bps kbps kbps kbps kbps bps bps bps bps bps bps 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 10000 10001 10010 10011 10100 10101 10110 10111 11000 11001
Country Europe & USA Japan Spain France
Frequency range 2400-2483.5 MHz 2471-2497 MHz 2445-2475 MHz 2446.5-2483.5 MHz
RF channels f = 2402 + k MHz f = 2473 + k MHz f = 2449 + k MHz f = 2454 + k MHz k = 0....78 k = 0....22 k = 0....22 k = 0....22
Table C2. UART speed setting parameter
Table C1. Frequency ranges used.
17
Ericsson Microelectronics
SE-164 81 Kista, Sweden +46 8 757 50 00 www.ericsson.com/microelectronics For local sales contacts, please refer to our website or call: Int + 46 8 757 47 00, Fax: +46 8 757 47 76
Data Sheet
EN/LZT 146 106 R1A (c) Ericsson Microelectronics AB, September 2001


▲Up To Search▲   

 
Price & Availability of ROK101008

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X